package com.dnjn.mes.biz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dnjn.mes.common.core.domain.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 保养记录表 upkeep
 * </p>
 *
 * @author Amber
 * @since 2023-08-04
 */
@Getter
@Setter
@TableName("mes_record_maintain")
public class MesRecordMaintain extends BaseEntity {

private static final long serialVersionUID = 1L;

        /**
         * PK
         */
                @TableId(value = "maintain_id", type = IdType.ASSIGN_ID)
                private Long maintainId;

        private LocalDateTime maintainDatetime;

        /**
         * 保养
         */
        private String note;

        private Long workpieceId;

        /**
         * 是否删除|0-否 1-是|valid
         */
        private String deleted;

        @TableField(exist = false)
        private String workpieceName;

        @TableField(exist = false)
        private String assemblyName;
}
